<div>
		<?php foreach($params['options'] as $optionName => $optionValue) { ?>
		<label><input type="checkbox" <?php echo $htmlOptions ?> <?php if (in_array($optionName, (array)$value)) {echo 'checked';} ?> 
		name="<?php echo $params['name'] ?>[]"
		value="<?php echo $this->txt2attr($optionName) ?>"><?php echo $this->txt2html($optionValue); ?></label>
		<?php } ?>
</div>

<?php if (!empty($params['errors'])) { ?>
<div class="errors">
	<ul>
		<?php foreach($params['errors'] as $error) { ?>
		<li><?php echo $error ?></li>
		<?php } ?>
	</ul>
</div>
<?php } ?>
